﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace UI
{
    public static class CorlorExtensions2
    {
        /// <summary>
        /// 把Color转变为Skyline的RGB格式
        /// </summary>
        public static int ToTerraColor(this Color color)
        {
            return (color.A << 24) | (color.B << 16) | (color.G << 8) | color.R;
        }
    }
}
